import { GraphQLModule } from '@nestjs/graphql'
import { Material, MaterialContent, MaterialContentNewsItem } from './entities'
import { MaterialService } from './resolvers/material.service'
import { MaterialResolver } from './resolvers/material.resolver'
import { Module, HttpModule } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'

@Module({
  imports: [
    TypeOrmModule.forFeature([Material, MaterialContent, MaterialContentNewsItem]),
    HttpModule,
    GraphQLModule
  ],
  providers: [MaterialService]
})
export class MaterialModule {}
